package com.cookman.assets;

import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion;

import java.util.HashMap;

/**
 * Created by Cookman on 04.04.14.
 */

public class AssetMap extends BaseStorage {

    public static final String MAP = "map";
    public static final String MEDIC = "medic";
    public static final String ENGINEER = "engineer";
    public static final String DISPATCHER = "dispatcher";
    public static final String EXPERT = "expert";
    public static final String QUARANTINE="quarantine";
    public static final String SCIENTIST="scientist";
    public static final String CARDBACKGROUND="cardbackground";
    public static final String BIOHAZARD="biohazard";
    public static final String BIOHAZARDPANEL="biohazardpanel";


    public AssetMap(TextureAtlas atlas) {
        atlasMap.put(MAP, atlas.findRegion(MAP));
        atlasMap.put(MEDIC, atlas.findRegion(MEDIC));
        atlasMap.put(ENGINEER, atlas.findRegion(ENGINEER));
        atlasMap.put(DISPATCHER, atlas.findRegion(DISPATCHER));
        atlasMap.put(EXPERT, atlas.findRegion(EXPERT));
        atlasMap.put(QUARANTINE, atlas.findRegion(QUARANTINE));
        atlasMap.put(SCIENTIST, atlas.findRegion(SCIENTIST));
        atlasMap.put(CARDBACKGROUND,atlas.findRegion(CARDBACKGROUND));
        atlasMap.put(BIOHAZARD,atlas.findRegion(BIOHAZARD));
        atlasMap.put(BIOHAZARDPANEL,atlas.findRegion(BIOHAZARDPANEL));
    }

}
